
#pragma once

#include "Renderer/OpenGL.h"
#include "ResourceManagement/GLtexture.h"
#include "ResourceManagement/GLresource.h"
#include "Stl/STLvector.h"

class GLmaterial:public GLresource
{
public:
	virtual void Destroy();
	
	void AddTexLayer( GLtexture*tex,GLint texEnv = GL_REPLACE ){
		m_texList.push_back(tex);
		m_texEnvList.push_back(texEnv);
	}

public:
	STLvector<GLtexture*> m_texList;
	STLvector<GLint> m_texEnvList;
};